import { createStore } from 'vuex'

export default createStore({
  state: {
    color: 'red'
  },
  getters: {
  },
  mutations: {
    cutColor(state,val){
      state.color = val;
      console.log(state.color);
    }
  },
  actions: {
  },
  modules: {
  }
})
